﻿@model List<CommerceOne.Domains.Entities.Product>

<div class="art-post">
                <div class="art-post-body">
                    <div class="art-post-inner art-article">
                        <div class="art-postcontent">
                         <div class="wrapper">
                        @{
                                var i = 1;
                                foreach ( var item in Model)
                                {
                                    var style = "left"+i;
                                    <div class="@style">
                                    @Html.Partial("_ProductViewItem", item)
                                    </div>
                                    if (i == 3)
                                    {
                                     @:</div><div class="wrapper">
                                      i = 1;
                                    }
                                    else 
                                    {
                                        i++;
                                    }
                                }
                            }
                         </div>
                           
                        </div>
                        <div class="cleared">
                        </div>
                    </div>
                    <div class="cleared">
                    </div>
                </div>
            </div>